package us.wili.dev.dao.mapper.base;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import us.wili.dev.model.entity.Rota;
import us.wili.dev.model.example.RotaExample;

public interface BaseRotaMapper {
    int insert(Rota record);

    int batchInsert(List<Rota> records);

    int insertSelective(Rota record);

    int deleteByExample(RotaExample example);

    int deleteByPrimaryKey(Long id);

    long countByExample(RotaExample example);

    int updateByExampleSelective(@Param("record") Rota record, @Param("example") RotaExample example);

    int updateByPrimaryKey(Rota record);

    int updateByPrimaryKeySelective(Rota record);

    Rota selectByPrimaryKey(@Param("id") Long id, @Param("columns") String... columns);

    Rota selectByPrimaryKeyForUpdate(@Param("id") Long id, @Param("columns") String... columns);

    Rota selectByPrimaryKeyInShareMode(@Param("id") Long id, @Param("columns") String... columns);

    List<Rota> selectByExample(RotaExample example);

    Rota selectOneByExample(RotaExample example);
}